package centralizedme;

/**
 *
 * @author palexander
 */
public class FoafPrimaryTopic extends RdfProperty {
    // name of the person this foaf document refers to
    private String primaryTopic;
    // the name for this property
    private final String propName = "foaf:primaryTopic";

    /**
     * Constructor, relies on RdfProperty super constructor.
     * @param name  <code>String</code> of the property's name.
     */
    public FoafPrimaryTopic() {
        super("foaf:primaryTopic");
        this.primaryTopic = "me";
    }

    /**
     * Represent this property as a string.
     * @return  <code>String</code> representation of this property.
     */
    public String toString() {
        return "<" + propName + " rdf:resource=\"#" + primaryTopic + "\"/>";
    }
}
